package com.zzyl.nursing.job;

import com.zzyl.nursing.service.IAlertRuleService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
@Slf4j
@Component("alertJob")
public class AlertJob {

    @Autowired
    private IAlertRuleService alertRuleService;


    public void deviceDataAlertFilter(){
        log.info("开始处理设备的异常数据.....");
        alertRuleService.alertFilter();
        log.info("处理设备的异常数据结束.....");
    }
}